package org.wejob.web.buffer;

import java.nio.ByteBuffer;

public class SocketEmptyBufferQueue extends AsynchronousQueue<WebIOBuffer> {
    public SocketEmptyBufferQueue() {
        super(new WebIOBuffer(ByteBuffer.allocate(1024)));
    }

    @Override
    protected WebIOBuffer getWhileIsEmpty() {
        return new WebIOBuffer(ByteBuffer.allocate(1024));
    }
}
